﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="TagGame.aspx.vb" Inherits="CW1.TagGame" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p class="addContentTitle">
        Tag Game</p>
    <p>
        <asp:TextBox ID="tb_TagName" runat="server" Width="200px"></asp:TextBox>
        <asp:Button ID="btn_AddTag" runat="server" Text="Add New Tag" 
            BackColor="#660066" BorderStyle="None" ForeColor="White" />
        <br /><br /><br />
        <asp:CheckBoxList ID="cb_tags" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="TagName" DataValueField="ID" 
            RepeatDirection="Horizontal">
        </asp:CheckBoxList>
        <br />
        <asp:Button ID="btn_Submit" runat="server" BackColor="#660066" 
            BorderStyle="None" Font-Size="Large" ForeColor="White" Text="Tag Game" 
            Width="112px" />
        <br />

        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:WarriorConnection %>" 
            ProviderName="<%$ ConnectionStrings:WarriorConnection.ProviderName %>" 
            SelectCommand="SELECT [ID], [TagName] FROM [Tag]"></asp:SqlDataSource>
    </p>
</asp:Content>
